package cn.talk.socket;

import cn.talk.socket.service.CrateService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SocketApplication {

    public static void main(String[] args){
        Thread service = new Thread(new CrateService(),"Service");
        service.start();
        SpringApplication.run(SocketApplication.class, args);
    }

}
